package com.ssy.lingxi.member.merchant.model.vo.maintenance.request;

import javax.validation.constraints.*;
import java.io.Serializable;

/**
 * 会员能力 - 冻结、解冻会员接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2020-08-18
 */
public class MemberFreezeStatusVO implements Serializable {
    private static final long serialVersionUID = -315082387381199117L;

    /**
     * 审核内容Id
     */
    @NotNull(message = "审核内容Id要大于0")
    @Positive(message = "审核内容Id要大于0")
    private Long validateId;

    /**
     * 状态 1-解冻 2-冻结
     */
    @NotNull(message = "状态取值 1-解冻 2-冻结")
    @Min(value = 1, message = "状态取值 1-解冻 2-冻结")
    @Max(value = 2, message = "状态取值 1-解冻 2-冻结")
    private Integer status;

    /**
     * 冻结（解冻）原因
     */
    @Size(max = 120, message = "冻结、解冻原因最长120个字符")
    private String reason;

    public Long getValidateId() {
        return validateId;
    }

    public void setValidateId(Long validateId) {
        this.validateId = validateId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }
}
